using SHDocVw;
using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace AxSHDocVw
{
	[DefaultProperty("Name"), DesignTimeVisible(true), AxHost.ClsidAttribute("{8856f961-340a-11d0-a96b-00c04fd705a2}")]
	public class AxWebBrowser : AxHost
	{
		private IWebBrowser2 ocx;
		private AxWebBrowserEventMulticaster eventMulticaster;
		private AxHost.ConnectionPointCookie cookie;
		public event DWebBrowserEvents2_NewWindow3EventHandler NewWindow3
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.NewWindow3 = (DWebBrowserEvents2_NewWindow3EventHandler)Delegate.Combine(this.NewWindow3, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.NewWindow3 = (DWebBrowserEvents2_NewWindow3EventHandler)Delegate.Remove(this.NewWindow3, value);
			}
		}
		public event DWebBrowserEvents2_SetPhishingFilterStatusEventHandler SetPhishingFilterStatus
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.SetPhishingFilterStatus = (DWebBrowserEvents2_SetPhishingFilterStatusEventHandler)Delegate.Combine(this.SetPhishingFilterStatus, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.SetPhishingFilterStatus = (DWebBrowserEvents2_SetPhishingFilterStatusEventHandler)Delegate.Remove(this.SetPhishingFilterStatus, value);
			}
		}
		public event DWebBrowserEvents2_WindowStateChangedEventHandler WindowStateChanged
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowStateChanged = (DWebBrowserEvents2_WindowStateChangedEventHandler)Delegate.Combine(this.WindowStateChanged, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowStateChanged = (DWebBrowserEvents2_WindowStateChangedEventHandler)Delegate.Remove(this.WindowStateChanged, value);
			}
		}
		public event DWebBrowserEvents2_NewProcessEventHandler NewProcess
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.NewProcess = (DWebBrowserEvents2_NewProcessEventHandler)Delegate.Combine(this.NewProcess, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.NewProcess = (DWebBrowserEvents2_NewProcessEventHandler)Delegate.Remove(this.NewProcess, value);
			}
		}
		public event DWebBrowserEvents2_ThirdPartyUrlBlockedEventHandler ThirdPartyUrlBlocked
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.ThirdPartyUrlBlocked = (DWebBrowserEvents2_ThirdPartyUrlBlockedEventHandler)Delegate.Combine(this.ThirdPartyUrlBlocked, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.ThirdPartyUrlBlocked = (DWebBrowserEvents2_ThirdPartyUrlBlockedEventHandler)Delegate.Remove(this.ThirdPartyUrlBlocked, value);
			}
		}
		public event DWebBrowserEvents2_RedirectXDomainBlockedEventHandler RedirectXDomainBlocked
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.RedirectXDomainBlocked = (DWebBrowserEvents2_RedirectXDomainBlockedEventHandler)Delegate.Combine(this.RedirectXDomainBlocked, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.RedirectXDomainBlocked = (DWebBrowserEvents2_RedirectXDomainBlockedEventHandler)Delegate.Remove(this.RedirectXDomainBlocked, value);
			}
		}
		public event DWebBrowserEvents2_StatusTextChangeEventHandler StatusTextChange
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.StatusTextChange = (DWebBrowserEvents2_StatusTextChangeEventHandler)Delegate.Combine(this.StatusTextChange, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.StatusTextChange = (DWebBrowserEvents2_StatusTextChangeEventHandler)Delegate.Remove(this.StatusTextChange, value);
			}
		}
		public event DWebBrowserEvents2_ProgressChangeEventHandler ProgressChange
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.ProgressChange = (DWebBrowserEvents2_ProgressChangeEventHandler)Delegate.Combine(this.ProgressChange, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.ProgressChange = (DWebBrowserEvents2_ProgressChangeEventHandler)Delegate.Remove(this.ProgressChange, value);
			}
		}
		public event DWebBrowserEvents2_CommandStateChangeEventHandler CommandStateChange
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.CommandStateChange = (DWebBrowserEvents2_CommandStateChangeEventHandler)Delegate.Combine(this.CommandStateChange, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.CommandStateChange = (DWebBrowserEvents2_CommandStateChangeEventHandler)Delegate.Remove(this.CommandStateChange, value);
			}
		}
		public event EventHandler DownloadBegin
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.DownloadBegin = (EventHandler)Delegate.Combine(this.DownloadBegin, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.DownloadBegin = (EventHandler)Delegate.Remove(this.DownloadBegin, value);
			}
		}
		public event EventHandler DownloadComplete
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.DownloadComplete = (EventHandler)Delegate.Combine(this.DownloadComplete, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.DownloadComplete = (EventHandler)Delegate.Remove(this.DownloadComplete, value);
			}
		}
		public event DWebBrowserEvents2_TitleChangeEventHandler TitleChange
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.TitleChange = (DWebBrowserEvents2_TitleChangeEventHandler)Delegate.Combine(this.TitleChange, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.TitleChange = (DWebBrowserEvents2_TitleChangeEventHandler)Delegate.Remove(this.TitleChange, value);
			}
		}
		public event DWebBrowserEvents2_PropertyChangeEventHandler PropertyChange
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.PropertyChange = (DWebBrowserEvents2_PropertyChangeEventHandler)Delegate.Combine(this.PropertyChange, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.PropertyChange = (DWebBrowserEvents2_PropertyChangeEventHandler)Delegate.Remove(this.PropertyChange, value);
			}
		}
		public event DWebBrowserEvents2_BeforeNavigate2EventHandler BeforeNavigate2
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.BeforeNavigate2 = (DWebBrowserEvents2_BeforeNavigate2EventHandler)Delegate.Combine(this.BeforeNavigate2, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.BeforeNavigate2 = (DWebBrowserEvents2_BeforeNavigate2EventHandler)Delegate.Remove(this.BeforeNavigate2, value);
			}
		}
		public event DWebBrowserEvents2_NewWindow2EventHandler NewWindow2
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.NewWindow2 = (DWebBrowserEvents2_NewWindow2EventHandler)Delegate.Combine(this.NewWindow2, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.NewWindow2 = (DWebBrowserEvents2_NewWindow2EventHandler)Delegate.Remove(this.NewWindow2, value);
			}
		}
		public event DWebBrowserEvents2_NavigateComplete2EventHandler NavigateComplete2
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.NavigateComplete2 = (DWebBrowserEvents2_NavigateComplete2EventHandler)Delegate.Combine(this.NavigateComplete2, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.NavigateComplete2 = (DWebBrowserEvents2_NavigateComplete2EventHandler)Delegate.Remove(this.NavigateComplete2, value);
			}
		}
		public event DWebBrowserEvents2_DocumentCompleteEventHandler DocumentComplete
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.DocumentComplete = (DWebBrowserEvents2_DocumentCompleteEventHandler)Delegate.Combine(this.DocumentComplete, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.DocumentComplete = (DWebBrowserEvents2_DocumentCompleteEventHandler)Delegate.Remove(this.DocumentComplete, value);
			}
		}
		public event EventHandler OnQuit
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnQuit = (EventHandler)Delegate.Combine(this.OnQuit, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnQuit = (EventHandler)Delegate.Remove(this.OnQuit, value);
			}
		}
		public event DWebBrowserEvents2_OnVisibleEventHandler OnVisible
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnVisible = (DWebBrowserEvents2_OnVisibleEventHandler)Delegate.Combine(this.OnVisible, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnVisible = (DWebBrowserEvents2_OnVisibleEventHandler)Delegate.Remove(this.OnVisible, value);
			}
		}
		public event DWebBrowserEvents2_OnToolBarEventHandler OnToolBar
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnToolBar = (DWebBrowserEvents2_OnToolBarEventHandler)Delegate.Combine(this.OnToolBar, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnToolBar = (DWebBrowserEvents2_OnToolBarEventHandler)Delegate.Remove(this.OnToolBar, value);
			}
		}
		public event DWebBrowserEvents2_OnMenuBarEventHandler OnMenuBar
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnMenuBar = (DWebBrowserEvents2_OnMenuBarEventHandler)Delegate.Combine(this.OnMenuBar, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnMenuBar = (DWebBrowserEvents2_OnMenuBarEventHandler)Delegate.Remove(this.OnMenuBar, value);
			}
		}
		public event DWebBrowserEvents2_OnStatusBarEventHandler OnStatusBar
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnStatusBar = (DWebBrowserEvents2_OnStatusBarEventHandler)Delegate.Combine(this.OnStatusBar, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnStatusBar = (DWebBrowserEvents2_OnStatusBarEventHandler)Delegate.Remove(this.OnStatusBar, value);
			}
		}
		public event DWebBrowserEvents2_OnFullScreenEventHandler OnFullScreen
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnFullScreen = (DWebBrowserEvents2_OnFullScreenEventHandler)Delegate.Combine(this.OnFullScreen, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnFullScreen = (DWebBrowserEvents2_OnFullScreenEventHandler)Delegate.Remove(this.OnFullScreen, value);
			}
		}
		public event DWebBrowserEvents2_OnTheaterModeEventHandler OnTheaterMode
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.OnTheaterMode = (DWebBrowserEvents2_OnTheaterModeEventHandler)Delegate.Combine(this.OnTheaterMode, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.OnTheaterMode = (DWebBrowserEvents2_OnTheaterModeEventHandler)Delegate.Remove(this.OnTheaterMode, value);
			}
		}
		public event DWebBrowserEvents2_WindowSetResizableEventHandler WindowSetResizable
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowSetResizable = (DWebBrowserEvents2_WindowSetResizableEventHandler)Delegate.Combine(this.WindowSetResizable, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowSetResizable = (DWebBrowserEvents2_WindowSetResizableEventHandler)Delegate.Remove(this.WindowSetResizable, value);
			}
		}
		public event DWebBrowserEvents2_WindowSetLeftEventHandler WindowSetLeft
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowSetLeft = (DWebBrowserEvents2_WindowSetLeftEventHandler)Delegate.Combine(this.WindowSetLeft, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowSetLeft = (DWebBrowserEvents2_WindowSetLeftEventHandler)Delegate.Remove(this.WindowSetLeft, value);
			}
		}
		public event DWebBrowserEvents2_WindowSetTopEventHandler WindowSetTop
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowSetTop = (DWebBrowserEvents2_WindowSetTopEventHandler)Delegate.Combine(this.WindowSetTop, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowSetTop = (DWebBrowserEvents2_WindowSetTopEventHandler)Delegate.Remove(this.WindowSetTop, value);
			}
		}
		public event DWebBrowserEvents2_WindowSetWidthEventHandler WindowSetWidth
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowSetWidth = (DWebBrowserEvents2_WindowSetWidthEventHandler)Delegate.Combine(this.WindowSetWidth, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowSetWidth = (DWebBrowserEvents2_WindowSetWidthEventHandler)Delegate.Remove(this.WindowSetWidth, value);
			}
		}
		public event DWebBrowserEvents2_WindowSetHeightEventHandler WindowSetHeight
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowSetHeight = (DWebBrowserEvents2_WindowSetHeightEventHandler)Delegate.Combine(this.WindowSetHeight, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowSetHeight = (DWebBrowserEvents2_WindowSetHeightEventHandler)Delegate.Remove(this.WindowSetHeight, value);
			}
		}
		public event DWebBrowserEvents2_WindowClosingEventHandler WindowClosing
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.WindowClosing = (DWebBrowserEvents2_WindowClosingEventHandler)Delegate.Combine(this.WindowClosing, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.WindowClosing = (DWebBrowserEvents2_WindowClosingEventHandler)Delegate.Remove(this.WindowClosing, value);
			}
		}
		public event DWebBrowserEvents2_ClientToHostWindowEventHandler ClientToHostWindow
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.ClientToHostWindow = (DWebBrowserEvents2_ClientToHostWindowEventHandler)Delegate.Combine(this.ClientToHostWindow, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.ClientToHostWindow = (DWebBrowserEvents2_ClientToHostWindowEventHandler)Delegate.Remove(this.ClientToHostWindow, value);
			}
		}
		public event DWebBrowserEvents2_SetSecureLockIconEventHandler SetSecureLockIcon
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.SetSecureLockIcon = (DWebBrowserEvents2_SetSecureLockIconEventHandler)Delegate.Combine(this.SetSecureLockIcon, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.SetSecureLockIcon = (DWebBrowserEvents2_SetSecureLockIconEventHandler)Delegate.Remove(this.SetSecureLockIcon, value);
			}
		}
		public event DWebBrowserEvents2_FileDownloadEventHandler FileDownload
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.FileDownload = (DWebBrowserEvents2_FileDownloadEventHandler)Delegate.Combine(this.FileDownload, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.FileDownload = (DWebBrowserEvents2_FileDownloadEventHandler)Delegate.Remove(this.FileDownload, value);
			}
		}
		public event DWebBrowserEvents2_NavigateErrorEventHandler NavigateError
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.NavigateError = (DWebBrowserEvents2_NavigateErrorEventHandler)Delegate.Combine(this.NavigateError, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.NavigateError = (DWebBrowserEvents2_NavigateErrorEventHandler)Delegate.Remove(this.NavigateError, value);
			}
		}
		public event DWebBrowserEvents2_PrintTemplateInstantiationEventHandler PrintTemplateInstantiation
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.PrintTemplateInstantiation = (DWebBrowserEvents2_PrintTemplateInstantiationEventHandler)Delegate.Combine(this.PrintTemplateInstantiation, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.PrintTemplateInstantiation = (DWebBrowserEvents2_PrintTemplateInstantiationEventHandler)Delegate.Remove(this.PrintTemplateInstantiation, value);
			}
		}
		public event DWebBrowserEvents2_PrintTemplateTeardownEventHandler PrintTemplateTeardown
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.PrintTemplateTeardown = (DWebBrowserEvents2_PrintTemplateTeardownEventHandler)Delegate.Combine(this.PrintTemplateTeardown, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.PrintTemplateTeardown = (DWebBrowserEvents2_PrintTemplateTeardownEventHandler)Delegate.Remove(this.PrintTemplateTeardown, value);
			}
		}
		public event DWebBrowserEvents2_UpdatePageStatusEventHandler UpdatePageStatus
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.UpdatePageStatus = (DWebBrowserEvents2_UpdatePageStatusEventHandler)Delegate.Combine(this.UpdatePageStatus, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.UpdatePageStatus = (DWebBrowserEvents2_UpdatePageStatusEventHandler)Delegate.Remove(this.UpdatePageStatus, value);
			}
		}
		public event DWebBrowserEvents2_PrivacyImpactedStateChangeEventHandler PrivacyImpactedStateChange
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
				this.PrivacyImpactedStateChange = (DWebBrowserEvents2_PrivacyImpactedStateChangeEventHandler)Delegate.Combine(this.PrivacyImpactedStateChange, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
				this.PrivacyImpactedStateChange = (DWebBrowserEvents2_PrivacyImpactedStateChangeEventHandler)Delegate.Remove(this.PrivacyImpactedStateChange, value);
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(200)]
		public virtual object Application
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Application", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Application;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(201)]
		public virtual object CtlParent
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlParent", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Parent;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(202)]
		public virtual object CtlContainer
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlContainer", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Container;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(203)]
		public virtual object Document
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Document", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Document;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(204)]
		public virtual bool TopLevelContainer
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("TopLevelContainer", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.TopLevelContainer;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(205)]
		public virtual string Type
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Type", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Type;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(206)]
		public virtual int CtlLeft
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlLeft", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Left;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlLeft", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Left = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(207)]
		public virtual int CtlTop
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlTop", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Top;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlTop", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Top = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(208)]
		public virtual int CtlWidth
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlWidth", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Width;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlWidth", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Width = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(209)]
		public virtual int CtlHeight
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlHeight", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Height;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlHeight", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Height = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(210)]
		public virtual string LocationName
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("LocationName", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.LocationName;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(211)]
		public virtual string LocationURL
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("LocationURL", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.LocationURL;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(212)]
		public virtual bool Busy
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Busy", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Busy;
			}
		}
		[Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(0)]
		public new virtual string Name
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Name", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Name;
			}
		}
		[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), ComAliasName("System.Int32"), DispId(-515)]
		public virtual int HWND
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("HWND", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.HWND;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(400)]
		public virtual string FullName
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("FullName", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.FullName;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(401)]
		public virtual string Path
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Path", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Path;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(402)]
		public virtual bool CtlVisible
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlVisible", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Visible;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("CtlVisible", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Visible = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(403)]
		public virtual bool StatusBar
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("StatusBar", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.StatusBar;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("StatusBar", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.StatusBar = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(404)]
		public virtual string StatusText
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("StatusText", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.StatusText;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("StatusText", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.StatusText = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(405)]
		public virtual int ToolBar
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("ToolBar", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.ToolBar;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("ToolBar", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.ToolBar = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(406)]
		public virtual bool MenuBar
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("MenuBar", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.MenuBar;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("MenuBar", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.MenuBar = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(407)]
		public virtual bool FullScreen
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("FullScreen", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.FullScreen;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("FullScreen", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.FullScreen = value;
			}
		}
		[Bindable(BindableSupport.Yes), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(-525)]
		public virtual tagREADYSTATE ReadyState
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("ReadyState", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.ReadyState;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(550)]
		public virtual bool Offline
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Offline", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Offline;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Offline", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Offline = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(551)]
		public virtual bool Silent
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Silent", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Silent;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Silent", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Silent = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(552)]
		public virtual bool RegisterAsBrowser
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("RegisterAsBrowser", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.RegisterAsBrowser;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("RegisterAsBrowser", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.RegisterAsBrowser = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(553)]
		public virtual bool RegisterAsDropTarget
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("RegisterAsDropTarget", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.RegisterAsDropTarget;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("RegisterAsDropTarget", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.RegisterAsDropTarget = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(554)]
		public virtual bool TheaterMode
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("TheaterMode", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.TheaterMode;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("TheaterMode", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.TheaterMode = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(555)]
		public virtual bool AddressBar
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("AddressBar", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.AddressBar;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("AddressBar", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.AddressBar = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), DispId(556)]
		public virtual bool Resizable
		{
			get
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Resizable", AxHost.ActiveXInvokeKind.PropertyGet);
				}
				return this.ocx.Resizable;
			}
			set
			{
				if (this.ocx == null)
				{
					throw new AxHost.InvalidActiveXStateException("Resizable", AxHost.ActiveXInvokeKind.PropertySet);
				}
				this.ocx.Resizable = value;
			}
		}
		public AxWebBrowser() : base("8856f961-340a-11d0-a96b-00c04fd705a2")
		{
		}
		public virtual void Navigate2(ref object uRL)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Navigate2", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			object[] array = new object[]
			{
				uRL,
				Missing.Value,
				Missing.Value,
				Missing.Value,
				Missing.Value
			};
			Type typeFromHandle = typeof(IWebBrowser2);
			MethodInfo method = typeFromHandle.GetMethod("Navigate2");
			method.Invoke(this.ocx, array);
			uRL = array[0];
		}
		public virtual void Navigate2(ref object uRL, ref object flags, ref object targetFrameName, ref object postData, ref object headers)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Navigate2", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.Navigate2(ref uRL, ref flags, ref targetFrameName, ref postData, ref headers);
		}
		public virtual OLECMDF QueryStatusWB(OLECMDID cmdID)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("QueryStatusWB", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			return this.ocx.QueryStatusWB(cmdID);
		}
		public virtual void ExecWB(OLECMDID cmdID, OLECMDEXECOPT cmdexecopt)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("ExecWB", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			object[] parameters = new object[]
			{
				cmdID,
				cmdexecopt,
				Missing.Value,
				Missing.Value
			};
			Type typeFromHandle = typeof(IWebBrowser2);
			MethodInfo method = typeFromHandle.GetMethod("ExecWB");
			method.Invoke(this.ocx, parameters);
		}
		public virtual void ExecWB(OLECMDID cmdID, OLECMDEXECOPT cmdexecopt, ref object pvaIn, ref object pvaOut)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("ExecWB", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.ExecWB(cmdID, cmdexecopt, ref pvaIn, ref pvaOut);
		}
		public virtual void ShowBrowserBar(ref object pvaClsid)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("ShowBrowserBar", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			object[] array = new object[]
			{
				pvaClsid,
				Missing.Value,
				Missing.Value
			};
			Type typeFromHandle = typeof(IWebBrowser2);
			MethodInfo method = typeFromHandle.GetMethod("ShowBrowserBar");
			method.Invoke(this.ocx, array);
			pvaClsid = array[0];
		}
		public virtual void ShowBrowserBar(ref object pvaClsid, ref object pvarShow, ref object pvarSize)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("ShowBrowserBar", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.ShowBrowserBar(ref pvaClsid, ref pvarShow, ref pvarSize);
		}
		public virtual void GoBack()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("GoBack", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.GoBack();
		}
		public virtual void GoForward()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("GoForward", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.GoForward();
		}
		public virtual void GoHome()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("GoHome", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.GoHome();
		}
		public virtual void GoSearch()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("GoSearch", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.GoSearch();
		}
		public virtual void Navigate(string uRL)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Navigate", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			object[] parameters = new object[]
			{
				uRL,
				Missing.Value,
				Missing.Value,
				Missing.Value,
				Missing.Value
			};
			Type typeFromHandle = typeof(IWebBrowser2);
			MethodInfo method = typeFromHandle.GetMethod("Navigate");
			method.Invoke(this.ocx, parameters);
		}
		public virtual void Navigate(string uRL, ref object flags, ref object targetFrameName, ref object postData, ref object headers)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Navigate", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.Navigate(uRL, ref flags, ref targetFrameName, ref postData, ref headers);
		}
		public new virtual void Refresh()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Refresh", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.Refresh();
		}
		public virtual void Refresh2()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Refresh2", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			object[] parameters = new object[]
			{
				Missing.Value
			};
			Type typeFromHandle = typeof(IWebBrowser2);
			MethodInfo method = typeFromHandle.GetMethod("Refresh2");
			method.Invoke(this.ocx, parameters);
		}
		public virtual void Refresh2(ref object level)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Refresh2", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.Refresh2(ref level);
		}
		public virtual void Stop()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Stop", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.Stop();
		}
		public virtual void Quit()
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("Quit", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.Quit();
		}
		public virtual void ClientToWindow(ref int pcx, ref int pcy)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("ClientToWindow", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.ClientToWindow(ref pcx, ref pcy);
		}
		public virtual void PutProperty(string property, object vtValue)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("PutProperty", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			this.ocx.PutProperty(property, vtValue);
		}
		public virtual object GetProperty(string property)
		{
			if (this.ocx == null)
			{
				throw new AxHost.InvalidActiveXStateException("GetProperty", AxHost.ActiveXInvokeKind.MethodInvoke);
			}
			return this.ocx.GetProperty(property);
		}
		protected override void CreateSink()
		{
			try
			{
				this.eventMulticaster = new AxWebBrowserEventMulticaster(this);
				this.cookie = new AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(DWebBrowserEvents2));
			}
			catch (Exception)
			{
			}
		}
		protected override void DetachSink()
		{
			try
			{
				this.cookie.Disconnect();
			}
			catch (Exception)
			{
			}
		}
		protected override void AttachInterfaces()
		{
			try
			{
				this.ocx = (IWebBrowser2)base.GetOcx();
			}
			catch (Exception)
			{
			}
		}
		internal void RaiseOnNewWindow3(object sender, DWebBrowserEvents2_NewWindow3Event e)
		{
			if (this.NewWindow3 != null)
			{
				this.NewWindow3(sender, e);
			}
		}
		internal void RaiseOnSetPhishingFilterStatus(object sender, DWebBrowserEvents2_SetPhishingFilterStatusEvent e)
		{
			if (this.SetPhishingFilterStatus != null)
			{
				this.SetPhishingFilterStatus(sender, e);
			}
		}
		internal void RaiseOnWindowStateChanged(object sender, DWebBrowserEvents2_WindowStateChangedEvent e)
		{
			if (this.WindowStateChanged != null)
			{
				this.WindowStateChanged(sender, e);
			}
		}
		internal void RaiseOnNewProcess(object sender, DWebBrowserEvents2_NewProcessEvent e)
		{
			if (this.NewProcess != null)
			{
				this.NewProcess(sender, e);
			}
		}
		internal void RaiseOnThirdPartyUrlBlocked(object sender, DWebBrowserEvents2_ThirdPartyUrlBlockedEvent e)
		{
			if (this.ThirdPartyUrlBlocked != null)
			{
				this.ThirdPartyUrlBlocked(sender, e);
			}
		}
		internal void RaiseOnRedirectXDomainBlocked(object sender, DWebBrowserEvents2_RedirectXDomainBlockedEvent e)
		{
			if (this.RedirectXDomainBlocked != null)
			{
				this.RedirectXDomainBlocked(sender, e);
			}
		}
		internal void RaiseOnStatusTextChange(object sender, DWebBrowserEvents2_StatusTextChangeEvent e)
		{
			if (this.StatusTextChange != null)
			{
				this.StatusTextChange(sender, e);
			}
		}
		internal void RaiseOnProgressChange(object sender, DWebBrowserEvents2_ProgressChangeEvent e)
		{
			if (this.ProgressChange != null)
			{
				this.ProgressChange(sender, e);
			}
		}
		internal void RaiseOnCommandStateChange(object sender, DWebBrowserEvents2_CommandStateChangeEvent e)
		{
			if (this.CommandStateChange != null)
			{
				this.CommandStateChange(sender, e);
			}
		}
		internal void RaiseOnDownloadBegin(object sender, EventArgs e)
		{
			if (this.DownloadBegin != null)
			{
				this.DownloadBegin(sender, e);
			}
		}
		internal void RaiseOnDownloadComplete(object sender, EventArgs e)
		{
			if (this.DownloadComplete != null)
			{
				this.DownloadComplete(sender, e);
			}
		}
		internal void RaiseOnTitleChange(object sender, DWebBrowserEvents2_TitleChangeEvent e)
		{
			if (this.TitleChange != null)
			{
				this.TitleChange(sender, e);
			}
		}
		internal void RaiseOnPropertyChange(object sender, DWebBrowserEvents2_PropertyChangeEvent e)
		{
			if (this.PropertyChange != null)
			{
				this.PropertyChange(sender, e);
			}
		}
		internal void RaiseOnBeforeNavigate2(object sender, DWebBrowserEvents2_BeforeNavigate2Event e)
		{
			if (this.BeforeNavigate2 != null)
			{
				this.BeforeNavigate2(sender, e);
			}
		}
		internal void RaiseOnNewWindow2(object sender, DWebBrowserEvents2_NewWindow2Event e)
		{
			if (this.NewWindow2 != null)
			{
				this.NewWindow2(sender, e);
			}
		}
		internal void RaiseOnNavigateComplete2(object sender, DWebBrowserEvents2_NavigateComplete2Event e)
		{
			if (this.NavigateComplete2 != null)
			{
				this.NavigateComplete2(sender, e);
			}
		}
		internal void RaiseOnDocumentComplete(object sender, DWebBrowserEvents2_DocumentCompleteEvent e)
		{
			if (this.DocumentComplete != null)
			{
				this.DocumentComplete(sender, e);
			}
		}
		internal void RaiseOnOnQuit(object sender, EventArgs e)
		{
			if (this.OnQuit != null)
			{
				this.OnQuit(sender, e);
			}
		}
		internal void RaiseOnOnVisible(object sender, DWebBrowserEvents2_OnVisibleEvent e)
		{
			if (this.OnVisible != null)
			{
				this.OnVisible(sender, e);
			}
		}
		internal void RaiseOnOnToolBar(object sender, DWebBrowserEvents2_OnToolBarEvent e)
		{
			if (this.OnToolBar != null)
			{
				this.OnToolBar(sender, e);
			}
		}
		internal void RaiseOnOnMenuBar(object sender, DWebBrowserEvents2_OnMenuBarEvent e)
		{
			if (this.OnMenuBar != null)
			{
				this.OnMenuBar(sender, e);
			}
		}
		internal void RaiseOnOnStatusBar(object sender, DWebBrowserEvents2_OnStatusBarEvent e)
		{
			if (this.OnStatusBar != null)
			{
				this.OnStatusBar(sender, e);
			}
		}
		internal void RaiseOnOnFullScreen(object sender, DWebBrowserEvents2_OnFullScreenEvent e)
		{
			if (this.OnFullScreen != null)
			{
				this.OnFullScreen(sender, e);
			}
		}
		internal void RaiseOnOnTheaterMode(object sender, DWebBrowserEvents2_OnTheaterModeEvent e)
		{
			if (this.OnTheaterMode != null)
			{
				this.OnTheaterMode(sender, e);
			}
		}
		internal void RaiseOnWindowSetResizable(object sender, DWebBrowserEvents2_WindowSetResizableEvent e)
		{
			if (this.WindowSetResizable != null)
			{
				this.WindowSetResizable(sender, e);
			}
		}
		internal void RaiseOnWindowSetLeft(object sender, DWebBrowserEvents2_WindowSetLeftEvent e)
		{
			if (this.WindowSetLeft != null)
			{
				this.WindowSetLeft(sender, e);
			}
		}
		internal void RaiseOnWindowSetTop(object sender, DWebBrowserEvents2_WindowSetTopEvent e)
		{
			if (this.WindowSetTop != null)
			{
				this.WindowSetTop(sender, e);
			}
		}
		internal void RaiseOnWindowSetWidth(object sender, DWebBrowserEvents2_WindowSetWidthEvent e)
		{
			if (this.WindowSetWidth != null)
			{
				this.WindowSetWidth(sender, e);
			}
		}
		internal void RaiseOnWindowSetHeight(object sender, DWebBrowserEvents2_WindowSetHeightEvent e)
		{
			if (this.WindowSetHeight != null)
			{
				this.WindowSetHeight(sender, e);
			}
		}
		internal void RaiseOnWindowClosing(object sender, DWebBrowserEvents2_WindowClosingEvent e)
		{
			if (this.WindowClosing != null)
			{
				this.WindowClosing(sender, e);
			}
		}
		internal void RaiseOnClientToHostWindow(object sender, DWebBrowserEvents2_ClientToHostWindowEvent e)
		{
			if (this.ClientToHostWindow != null)
			{
				this.ClientToHostWindow(sender, e);
			}
		}
		internal void RaiseOnSetSecureLockIcon(object sender, DWebBrowserEvents2_SetSecureLockIconEvent e)
		{
			if (this.SetSecureLockIcon != null)
			{
				this.SetSecureLockIcon(sender, e);
			}
		}
		internal void RaiseOnFileDownload(object sender, DWebBrowserEvents2_FileDownloadEvent e)
		{
			if (this.FileDownload != null)
			{
				this.FileDownload(sender, e);
			}
		}
		internal void RaiseOnNavigateError(object sender, DWebBrowserEvents2_NavigateErrorEvent e)
		{
			if (this.NavigateError != null)
			{
				this.NavigateError(sender, e);
			}
		}
		internal void RaiseOnPrintTemplateInstantiation(object sender, DWebBrowserEvents2_PrintTemplateInstantiationEvent e)
		{
			if (this.PrintTemplateInstantiation != null)
			{
				this.PrintTemplateInstantiation(sender, e);
			}
		}
		internal void RaiseOnPrintTemplateTeardown(object sender, DWebBrowserEvents2_PrintTemplateTeardownEvent e)
		{
			if (this.PrintTemplateTeardown != null)
			{
				this.PrintTemplateTeardown(sender, e);
			}
		}
		internal void RaiseOnUpdatePageStatus(object sender, DWebBrowserEvents2_UpdatePageStatusEvent e)
		{
			if (this.UpdatePageStatus != null)
			{
				this.UpdatePageStatus(sender, e);
			}
		}
		internal void RaiseOnPrivacyImpactedStateChange(object sender, DWebBrowserEvents2_PrivacyImpactedStateChangeEvent e)
		{
			if (this.PrivacyImpactedStateChange != null)
			{
				this.PrivacyImpactedStateChange(sender, e);
			}
		}
	}
}
